/*
 * dmp_config.h
 *
 *  Created on: May 14, 2014
 *      Author: shinkproject
 */

#ifndef DMP_CONFIG_H_
#define DMP_CONFIG_H_


class DMPConfig
{

public:

	int setName(const char* newName);//name mustn't larger than 255 bytes
	int getName(void* buffer, size_t bsize);

	DMPConfig* sliceCopy(const char* name, void* buffer, size_t bsize);
	DMPConfig* sliceRefer(const char* name);
	const char* sliceValue(DMPConfig* pConf);

	const char* sliceValue(const char* name);
	DMPConfig& combineWith(DMPConfig* another);

};



#endif /* DMP_CONFIG_H_ */
